<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>求1-100之间不能被7整除的整数的和（用continue）</title>
</head>

<body>
    <script>

        for (var i = 1, sum = 0; i <= 100; i++) {
            if (i % 7 === 0) {
                continue;
            }
            sum += i;
        }
        console.log("1-100之间不能被7整除的整数的和为：" + sum);
    </script>
</body>

</html>